<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box {
            width: 100px;
            height: 100px;
            border-left: 10px red dotted;
            border-top: 10px yellow dashed;
            border-right: 10px green solid;
            border-bottom: 10px pink solid;
        }

        .inner1 {
            width: 0px;
            height: 0px;
            border-left: 10px red solid;
            border-top: 10px yellow solid;
            border-right: 10px green solid;
            border-bottom: 10px pink solid;
        }

        .inner2 {
            width: 0px;
            height: 0px;
            border-left: 10px green solid;
            border-top: 10px transparent solid;
            border-right: 10px transparent solid;
            border-bottom: 10px pink solid;
        }

        .flag {
            width: 0px;
            height: 0px;
            border: 5px solid transparent;
            border-right: 5px red solid;
            display: inline-block;
            vertical-align: 1px;
            /* 圆角 */
            border-radius: 50%;
        }
    </style>
</head>

<body>
    <div class="box">123</div>
    <div class="inner1"></div>
    <div class="inner2"></div>
    <!-- li标签 -->
    <div class="li">
        <div class="flag"></div> <span>111111</span>
    </div>

    <div class="li">
        <div class="flag"></div> <span>111111</span>
    </div>
</body>

</html>